﻿using System;
using DotNet.Entity;

namespace XNWebModel
{
    /// <summary>
    /// 客户服务
    /// </summary>
    [Table(Caption = "客户服务")]
    //[PrimaryKey("Id", true)]
    public class CustomerService
    {
        /// <summary>
        /// 主键
        /// </summary>
        [PrimaryKey(AutoIncrement = true)]
        [Column(Caption = "主键", Exported = false)]
        public int Id { get; set; }

        /// <summary>
        /// 客户服务分类主键
        /// </summary>
		[Column(Caption = "客户服务分类主键")]
        public int ServiceCategoryId { get; set; }

        /// <summary>
        /// 1.投诉建议2.失物登记3.失物招领
        /// </summary>
        [Column(Caption = "1.投诉建议2.失物登记3.失物招领")]
        public string ServiceCategory { get; set; }

        /// <summary>
        /// 交通工具分类
        /// </summary>
		[Column(Caption = "交通工具分类")]
        public int BusinessCategoryId { get; set; }

        /// <summary>
        /// 交通工具:公交车出粗车客运车投诉建议
        /// </summary>
        [Column(Caption = "交通工具:公交车出粗车客运车投诉建议")]
        public string BusinessCategory { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        [Column(Caption = "编号")]
        public string Code { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [Column(Caption = "标题")]
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Column(Caption = "内容")]
        public string Details { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [Column(Caption = "联系人")]
        public string ContactName { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        [Column(Caption = "邮箱")]
        public string ContactEmail { get; set; }

        /// <summary>
        /// 用户账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Column(Caption = "联系电话")]
        public string ContactPhone { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        [Column(Caption = "联系地址")]
        public string ContactAddress { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        [Column(Caption = "发布时间")]
        public DateTime CreateDateTime { get; set; }

        /// <summary>
        /// 来源 (1网站 2微信 3app)
        /// </summary>
        [Column(Caption = "来源")]
        public string Source { get; set; }

    }
}
